package com.hdax.dm.constant;

/*
* 定义所有关于异常状态：状态码、消息
* */
public class ErrConstant {

    public static class ErrCodeConstant{
        public static final String ERR_CODE_PHONE_NUMBER="1001";
        public static final String NOT_EXISTS_VCODE="1002";
        public static final String WRONG_CODE_VCODE="1003";
        public static final String REPEAT_CODE_VCODE="1004";

        public static final String WRONG_CODE_PASSWORD="1006";

        public static final String VALIDATE_BUYER_EXIST_CODE="1009";


        public static final String SEAT_ISNULL_CODE="1010";

        public static final String LINKUSER_ISNULL_CODE="1011";

        public static final String LINKUSER_SEAT_UNLIKENESS_CODE="1012";
    }

    public static class ErrMsgConstant{
        public static final String ERR_MSG_PHONE_NUMBER="手机号格式不正确";

        public static final String NOT_EXISTS_MSG_VCODE="请重新获取验证码";

        public static final String WRONG_MSG_VCODE="验证码输入有误";
        public static final String REPEAT_MSG_VCODE="60秒之内只能获取一次验证码";
        public static final String WRONG_MSG_PASSWORD="手机号或密码错误";

        public static final String VALIDATE_BUYER_EXIST_MSG="购票人已存在";
        public static final String SEAT_ISNULL_MSG="座位已售出";

        public static final String LINKUSER_ISNULL_MSG="没有购票联系人";


        public static final String LINKUSER_SEAT_UNLIKENESS_MSG="购票联系人与座位不匹配";
    }
}
